/* * *
* MyApp can handle many events: mouse, key, pen, touch ...
* http://code.google.com/p/sceneexpression/wiki/EventHandlers
*/

#ifndef SX_MYAPP
#define SX_MYAPP

#include <sx/Main.h>
#include <sxMice/Mice.h>


class MyApp : public sx::App {
	
	public:
    
    	MyApp();
    	~MyApp();

        void update();

        void widget( sx::ButtonWidget& button );
        void widget( sx::SliderWidget& slider );
        void widget( sx::ToggleWidget& toggle );
        
        sxMice::Mice* mice;
        
        sx::SliderWidget* sliderR;
        sx::SliderWidget* sliderG;
        sx::SliderWidget* sliderB;
                        
        sx::PanelWidget* panel1;
        sx::PanelWidget* panel2;
        sx::TextShape* textbox1;
        sx::ToggleWidget* toggle1;

};

#endif
	
